project(${TEST_LIBRARY})

#--------------------------------------
# Main target
#--------------------------------------
add_definitions(-DTESTS_EXPORTS)

include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
)

file(GLOB HEADERS . "*.h")

set(LIBRARY_OUTPUT_PATH app)

add_library(${TEST_LIBRARY} SHARED
  testobject.cpp
  ${HEADERS}
)

target_link_libraries(${TEST_LIBRARY}
  Qt5::Core
)
